# -*- coding: utf-8; mode: snippet -*-
# name: raw html, <span ng-bind-html="...|unsafe" />
# key: afilter
# contributor: Chen Bin <chenbin DOT sh AT gmail>
# --
// <span ng-bind-html="... | unsafe"></span>
.filter('unsafe',["$sce", function($sce) {
  return function(val) {
    return $sce.trustAsHtml(val);
  };
}])
